package com.hksj.vsm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hksj.vsm.entity.VideoDevice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hksj.vsm.query.VideoDeviceQuery;
import com.hksj.vsm.vo.VideoDeviceVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 视频设备 dao 接口
 * @author chenxingqing
 */
public interface VideoDeviceManageMapper extends BaseMapper<VideoDevice> {

    VideoDeviceVO getVideoDevice(@Param("id") String id);

    List<VideoDeviceVO> pageVideoDevice(@Param("query") VideoDeviceQuery query, Page<VideoDeviceVO> page);

    List<VideoDeviceVO> queryVideoDeviceInstanceListByPaging(IPage<VideoDeviceVO> page,@Param("query") VideoDeviceQuery query);
}
